אִם־חוֹמָ֣ה הִ֔יא נִבְנֶ֥ה עָלֶ֖יהָ טִ֣ירַת כָּ֑סֶף וְאִם־דֶּ֣לֶת הִ֔יא נָצ֥וּר עָלֶ֖יהָ ל֥וּחַ אָֽרֶז׃
그가 성벽일진대 우리는 은 망대를 그 위에 세울 것이요 그가 문일진대 우리는 백향목 판자로 두르리라
Reshit Chokhmah
Also in the Midrash they explained the verse “every man with his sword on his thigh” (Song of Songs 8:9) relating to being cautious of the Brit, “because of dread in the night” that they are cautious of sin, which is prevalent at night-time.